@import '_reset.scss';

.container {
    min-width: 1140px;
    margin: 0 auto;
}
//轮播
section{
    margin: 0 0 15px;
    .swiper-container{
        max-width: 1920px;
        height: 500px;
        margin: auto;
        position: relative;
        overflow: hidden;
        list-style: none;
        ul{
            position: relative;
            width: 100%;
            height: 100%;
            box-sizing: content-box;
            li{
                position: absolute;
                left: 0;
                top: 0;
            }
            img{
                display: block;
            }
        }
    }
    
    .swiper-pagination{
        position: absolute;
        text-align: center;
        bottom: 10px;
        width: 100%;
        span{
            margin: 0 4px;
            display: inline-block;
            width: 80px;
            height: 2px;
            border-radius: 0;
            background: #999;
            overflow: hidden;
            cursor: pointer;
            opacity: 1;
        }
        .active{
            background: #007af0;
        }
    }
    .prev{
        background: url(../img/arrow_left.png) no-repeat scroll;
        display: block;
        width: 32px;
        height: 88px;
        position: absolute;
        top: 50%;
        margin-top: -22px;
        z-index: 10;
        cursor: pointer;
        left: 10px;
    }
    .next{
        background: url(../img/arrow_right.png) no-repeat scroll;
        display: block;
        width: 32px;
        height: 88px;
        position: absolute;
        top: 50%;
        margin-top: -22px;
        z-index: 10;
        cursor: pointer;
        right: 10px;
    }
}

// 内容
main{
    li {
        width: 370px;
        height: 390px;
        background: #fff;
        overflow: hidden;
        margin: 0 15px 15px 0;
        cursor: pointer;
        text-align: center;
        transition: all 0.2s linear 0s;
        &:hover {
            box-shadow: 0 15px 15px -10px rgba(0,0,0,.15);
        }
    }
    li:last-child{
        margin-right: 0;
    }
    .new-products{
        h2{
            font-size: 24px;
            color: #333333;
            margin: 20px auto 20px auto;
            line-height: 24px;
            width: 1140px;
        }
        ul{
            display: flex;
        }
        .img-box {
            width: 100%;
            height: 250px;
            overflow: hidden;
            font-size: 0;
            img{
                width: 100%;
                height: 100%;
            }
        }
        .new-products-title{
            color: #333333;
            font-size: 20px;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin-top: 15px;
        }
        .new-products-info {
            color: #6f6f6f;
            font-size: 14px;
            margin-top: 5px;
            width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .new-products-price {
            color: #4761ff;
            font-size: 14px;
            margin-top: 30px;
        }
        .img-hover{
            display: none;
        }
    }
}
//页脚
.footer-service{
    width: 100%;
    height: 175px;
    background-color: #f0f0f0;
    .row-fluid{
        text-align: center;
        .span3{
            display: block;
            float: left;
            min-height: 30px;
            width: 23%;
            margin-left:2%;
        }
        a{
            background: url(../img/service-promise.png) no-repeat;
            display: inline-block;
            width: 160px;
            height: 82px;
            vertical-align: middle;
            margin-top: 48px;
        }
        .border-rigt {
            background: url(../img/service-promise.png) no-repeat -224px 0;
            display: inline-block;
            width: 1px;
            height: 82px;
            margin-top: 48px;
            float: right;
        }
        .f1{
            background-position: left 0;
        }
        .f2{
            background-position: -316px 0;
        }
        .f3{
            background-position: -614px 0;
        }
        .f4{
            background-position: -888px 0;
        }
    }
}